From: Hannu Nyman Date: Sun, 16 Jun 2019 14:54:04 +0000 (+0300) Subject: treewide: fix datetype/datatype typo X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=cffeee49d7be19743cc40459fa1f423517f215c0;p=project%2Fluci.git treewide: fix datetype/datatype typo Fix 'datetype' typo. Signed-off-by: Hannu Nyman --- diff --git a/applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua b/applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua index 0eda5d83e0..2496259bad 100644 --- a/applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua +++ b/applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua @@ -190,7 +190,7 @@ o.optional = false o = s:option(Value, "hostname", translate("Hostname or address of UPS")) o.optional = false -s.datetype = "host" +s.datatype = "host" o = s:option(Value, "port", translate("Port")) o.optional = true @@ -219,7 +219,7 @@ o.optional = false o = s:option(Value, "hostname", translate("Hostname or address of UPS")) o.optional = false -s.datetype = "host" +s.datatype = "host" o = s:option(Value, "port", translate("Port")) o.optional = true diff --git a/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua b/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua index e967ce6283..b86b06cf1a 100644 --- a/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua +++ b/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua @@ -27,7 +27,7 @@ o.optional = true o.datatype = "uinteger" o = s:option(Value, "localip", translate("IP of listening side")) -o.datetype = "ipaddr" +o.datatype = "ipaddr" o = s:option(Value, "firstremoteip", translate("First remote IP")) o.datatype = "ipaddr"